/* ===== 全局基础样式 ===== */
body {
  margin: 0;
  padding: 0;
  font-family: "HarmonyOS Sans", "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #f7f9fb;
  color: #333;
}

a {
  color: #409EFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* ===== Element Plus 自定义增强样式 ===== */
.el-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}

.el-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.el-button + .el-button {
  margin-left: 10px;
}

.el-form-item {
  margin-bottom: 20px;
}

.el-input, .el-select, .el-textarea {
  width: 100%;
}

.el-dialog__body img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* ===== 自定义元素样式 ===== */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-size: 20px;
  color: #333;
}

.footer {
  text-align: center;
  font-size: 14px;
  color: #888;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #eaeaea;
}

/* 打赏二维码大小调整 */
.qrcode-img {
  display: block;
  width: 240px;
  margin: 20px auto 10px auto;
}
